package com.os.spring_boot_start_hello.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author Matt
 * @Date 2022-05-08
 * @Desc:
 * @Version V1.0
 */
@ConfigurationProperties(prefix = "hello")
public class HelloServiceProperties {

    private static final String MSG = "world";

    private String msg = MSG;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

}
